//
//  HRView.m
//  RAC基本使用
//
//  Created by Hello Cai on 2019/12/8.
//  Copyright © 2019 Hello Cai. All rights reserved.
//

#import "HRView.h"

@interface HRView ()

@end

@implementation HRView

-(RACSubject *)subjectSignal{
    if (!_subjectSignal) {
        _subjectSignal = [RACSubject subject];
    }
    return _subjectSignal;
}

//- (IBAction)btnClick:(UIButton *)sender {
//
//    [_subjectSignal sendNext:@"111按钮点击了"];
//}

- (IBAction)btnClick:(id)sender {
    NSLog(@"点击了");
    [self hahaAction:sender];
}

-(void)hahaAction:(id)sender{
    NSLog(@"hahah----");
}


@end
